package cn.singno.springBoot.demo.ch05;

import org.junit.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main
{
	@Test
	public void testname() throws Exception
	{
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ElConfig.class);
		
		ElConfig elConfig = context.getBean(ElConfig.class);
		elConfig.outputResource();
		
		context.close();
	}
}
